package com.ruoyi.system.domain;

import com.ruoyi.common.annotation.Excel;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.base.BaseEntity;

import java.util.Date;

/**
 * 代驾经营表 daijiajingye
 * 
 * @author chengenjiang
 * @date 2019-07-16
 */
public class Daijiajingye extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** 代驾经营Id */
	@Excel(name = "代驾经营Id")
	private Integer daijiajingyingId;
	/** 经营类型ID */
	private Integer jingyingtypeId;
	/** 代驾人姓名 */
	@Excel(name = "代驾人姓名")
	private String name;
	/** 代驾人身份证号码 */
	@Excel(name = "代驾人身份证号码")
	private String daiJiaCode;
	/** 驾龄 */
	@Excel(name = "驾龄")
	private Integer jiaLing;
	/** 驾照类型 */
	@Excel(name = "驾照类型", readConverterExp = "0=C2驾照,1=C1驾照,2=B2驾照,3=B1驾照,4=A2驾照,5=A1驾照")
	private Integer jiaZhaoType;
	/** 代驾范围 */
	@Excel(name = "代驾范围")
	private String daiJiaFanWei;
	/** 备注说明 */
	@Excel(name = "备注说明")
	private String beiZhu;
	/** 商户ID */
	private Integer shanghuId;
	/** 创建时间 */
	@Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss", type = Excel.Type.EXPORT)
	private Date createTime;
	/** 修改时间 */
	@Excel(name = "修改时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss", type = Excel.Type.EXPORT)
	private Date updateTime;
	/** 扩展字段 */
	@Excel(name = "手机号码")
	private String attribute;

	public void setDaijiajingyingId(Integer daijiajingyingId) 
	{
		this.daijiajingyingId = daijiajingyingId;
	}

	public Integer getDaijiajingyingId() 
	{
		return daijiajingyingId;
	}
	public void setJingyingtypeId(Integer jingyingtypeId) 
	{
		this.jingyingtypeId = jingyingtypeId;
	}

	public Integer getJingyingtypeId() 
	{
		return jingyingtypeId;
	}
	public void setName(String name) 
	{
		this.name = name;
	}

	public String getName() 
	{
		return name;
	}
	public void setDaiJiaCode(String daiJiaCode) 
	{
		this.daiJiaCode = daiJiaCode;
	}

	public String getDaiJiaCode() 
	{
		return daiJiaCode;
	}
	public void setJiaLing(Integer jiaLing) 
	{
		this.jiaLing = jiaLing;
	}

	public Integer getJiaLing() 
	{
		return jiaLing;
	}
	public void setJiaZhaoType(Integer jiaZhaoType) 
	{
		this.jiaZhaoType = jiaZhaoType;
	}

	public Integer getJiaZhaoType() 
	{
		return jiaZhaoType;
	}
	public void setDaiJiaFanWei(String daiJiaFanWei) 
	{
		this.daiJiaFanWei = daiJiaFanWei;
	}

	public String getDaiJiaFanWei() 
	{
		return daiJiaFanWei;
	}
	public void setBeiZhu(String beiZhu) 
	{
		this.beiZhu = beiZhu;
	}

	public String getBeiZhu() 
	{
		return beiZhu;
	}
	public void setShanghuId(Integer shanghuId) 
	{
		this.shanghuId = shanghuId;
	}

	public Integer getShanghuId() 
	{
		return shanghuId;
	}

	public void setAttribute(String attribute) 
	{
		this.attribute = attribute;
	}

	public String getAttribute() 
	{
		return attribute;
	}
	@Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("daijiajingyingId", getDaijiajingyingId())
            .append("jingyingtypeId", getJingyingtypeId())
            .append("name", getName())
            .append("daiJiaCode", getDaiJiaCode())
            .append("jiaLing", getJiaLing())
            .append("jiaZhaoType", getJiaZhaoType())
            .append("daiJiaFanWei", getDaiJiaFanWei())
            .append("beiZhu", getBeiZhu())
            .append("shanghuId", getShanghuId())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("attribute", getAttribute())
            .toString();
    }


	public Date getCreateTime() {
		return createTime;
	}


	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}


	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}
}
